#ifndef APPINFO_H
#define APPINFO_H

#include <QString>



class AppInfo
{
public:
    AppInfo();

    QString id();
    QString name();
    QString path();
    QString args();
    bool isAutoStart();
    bool isAutoRestart();
    int autoRestartTime();
    bool isRunning();
    bool isSave();

    void setId(QString id);
    void setName(QString name);
    void setPath(QString path);
    void setArgs(QString args);
    void setIsAutoStart(bool value);
    void setIsAutoRestart(bool value);
    void setAutoRestartTime(int time);
    void setIsRunning(bool value);
    void setIsSave(bool value);

private:
    QString m_id;
    QString m_name;
    QString m_path;
    QString m_args;
    bool m_isAutoStart;
    bool m_isAutoRestart;
    int m_autoRestartTime;
    bool m_isRunning;
    bool m_isSave;
};

#endif // APPINFO_H
